package com.marvels.product.param.dao;
import java.util.List;
import java.util.Map;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dto.McptPenaltyFeeDTO;
import com.marvels.product.param.dto.McptProduct;

public interface McptPenaltyFeeMapper {


    int deleteByPrimaryKey(McptPenaltyFeeDTO record);

    int insert(McptPenaltyFeeDTO record);

    McptPenaltyFeeDTO selectByPrimaryKey(Long penaltyFeeId);

    int updateByPrimaryKey(McptPenaltyFeeDTO record);

	List<McptPenaltyFeeDTO> getListByParam(Map<String, Object> param);

	int updateStatus(McptPenaltyFeeDTO dto);
	/**根据小类违约金code查询违约金
	 * @author 娄凯琦
	 * @date 2018年5月9日  
	 * @param dto
	 * @return
	 * @throws MarvelsBusinessException
	 */
	public McptPenaltyFeeDTO selectPenaltyFeeByPenaltyFeeCode(McptProduct dto) throws MarvelsBusinessException;
}